package org.jpropelleralt.ledger;

import org.jpropelleralt.change.Change;

/**
 * A {@link Change} applying to a {@link Ledger}, and hence
 * providing more information on the changes.
 * 
 * {@link LedgerChange} gives details of changes to fields - 
 * whether or not the names/classes have changed
 */
public interface LedgerChange extends Change {
	
	/**
	 * True if fields have changed, false otherwise
	 * @return	Whether columns have changed.
	 */
	public boolean columnsChanged();

	/**
	 * True if the number of rows has changed, false otherwise
	 * @return	Whether row count has changed
	 */
	public boolean rowCountChanged();
}
